﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Nxg.Blog.Core.Documents
{
    public class SpamHash
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        [Required]
        public string PostKey { get; set; }

        [Required]
        public string Hash { get; set; }

        [Required]
        public bool Pass { get; set; }

        [Required]
        public DateTime CreatedTime { get; set; }
    }
}